<template>
    <div>
<h1>孙子</h1>
    </div>
</template>

<script lang="ts">
import { defineComponent,inject } from 'vue'

export default defineComponent({
    setup () {
        console.log(inject('info'));

        return {}
    }
})
</script>

<style scoped>

</style>